import React, { memo } from "react";
import { NavLink } from "react-router-dom";
import { ControlWrapper } from "./style";

export default memo(function Control() {
  return (
    <ControlWrapper>
      <NavLink to="/home">首页</NavLink>
      <NavLink to="/circus">关注</NavLink>
      <NavLink to="/publish">发表</NavLink>
      <NavLink to="/message">消息</NavLink>
      <NavLink to="/profile">个人</NavLink>
    </ControlWrapper>
  );
});
